package ${package};

import ${basePackage}.entity.${table.getCamelName()};
import ${basePackage}.form.search.${table.getCamelName()}SearchForm;
import ${basePackage}.form.update.${table.getCamelName()}UpdateForm;
import ${basePackage}.service.${table.getCamelName()}Service;
import com.ilxqx.framework.system.controller.base.AbstractFrameworkController;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ${table.getComment()}控制器
 * @author venus
 */
@Api("${table.getComment()}控制器")
@RestController
@RequestMapping("/${requestUriName}/${table.getKebabName()}")
@Slf4j
public class ${table.getCamelName()}Controller extends AbstractFrameworkController<${table.getCamelName()}, Long, ${table.getCamelName()}SearchForm, ${table.getCamelName()}UpdateForm> {

	private final ${table.getCamelName()}Service ${table.getLowerCamelName()}Service;

	@Autowired
	public ${table.getCamelName()}Controller(${table.getCamelName()}Service ${table.getLowerCamelName()}Service) {
		super(${table.getLowerCamelName()}Service);
		this.${table.getLowerCamelName()}Service = ${table.getLowerCamelName()}Service;
	}

}
